#ifndef __TCP_CLIENT__H__
#define __TCP_CLIENT__H__
#include <string>
#include "IpAddressPort.h"
#include "msg.h"

class TcpClient
{
private:
    int m_sfd;
public:
    TcpClient(const IpAddressPort& IpAddressAndPort);
    ~TcpClient();
    int SendMsg(const std::string& msg);
    Msg RecvMsg();
    int GetSfd()const;
};
#endif